package com.taobao.org.service;

import com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingException;
import com.taobao.basic.service.IBaseService;
import com.taobao.org.domain.Employee;
import com.taobao.org.domain.Shop;
import com.taobao.org.domain.ShopLog;
import com.taobao.org.dto.ShopDto;

import java.util.List;

public interface IShopService extends IBaseService<Shop> {

    /**
     * 店铺入驻
     * @param shop
     */
    void settlement(Shop shop);

    /**
     * 审核通过
     * @param log
     */
    void pass(ShopLog log) throws MessagingException, javax.mail.MessagingException;

    /**
     * 驳回
     * @param log
     */
    void reject(ShopLog log) throws MessagingException, javax.mail.MessagingException;

    /**
     * 返回echarts数据
     * @return
     */
    List<ShopDto> getEcharts();

}
